import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('@/views/home')
    },
    {
      path: '/order',
      name: 'order',
      component: () => import('@/views/order')
    },
    {
      path: '/mine',
      name: 'mine',
      component: () => import('@/views/mine')
    },
    {
      path: '/vipDetail',
      name: 'vipDetail',
      component: () => import('@/views/vip-detail')
    },
    {
      path: '/orderDetail',
      name: 'orderDetail',
      component: () => import('@/views/order-detail')
    }
  ]
})
